package com.chocho.producerserver.bean;

/**
 * Created by chocho on 2022/3/20.
 */
public class Question {

    private String questionId;

    //题目编号
    private Integer questionNum;

    private String questionTitle;

    private Integer questionDoNum;

    private Integer questionPassNum;

    private Integer questionScore;

    private String questionContext;

    //代码片段1
    private String questionAnswerOne;

    //代码片段2
    private String questionAnswerTwo;

    //代码片段3
    private String questionAnswerThree;

    //题目类型
    private String typeId;

    //所属题目集，0-默认题目集
    private String qcollectionId;

    private Integer questionDifficult;

    //出题人id
    private String author;

    //知识点,使用&连接各个知识点
    private String knowledgeNode;

    //时间限制
    private Integer timeLimit;

    //内存限制
    private Integer memoryLimit;

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public Integer getQuestionNum() {
        return questionNum;
    }

    public void setQuestionNum(Integer questionNum) {
        this.questionNum = questionNum;
    }

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public Integer getQuestionDoNum() {
        return questionDoNum;
    }

    public void setQuestionDoNum(Integer questionDoNum) {
        this.questionDoNum = questionDoNum;
    }

    public Integer getQuestionPassNum() {
        return questionPassNum;
    }

    public void setQuestionPassNum(Integer questionPassNum) {
        this.questionPassNum = questionPassNum;
    }

    public Integer getQuestionScore() {
        return questionScore;
    }

    public void setQuestionScore(Integer questionScore) {
        this.questionScore = questionScore;
    }

    public String getQuestionContext() {
        return questionContext;
    }

    public void setQuestionContext(String questionContext) {
        this.questionContext = questionContext;
    }

    public String getQuestionAnswerOne() {
        return questionAnswerOne;
    }

    public void setQuestionAnswerOne(String questionAnswerOne) {
        this.questionAnswerOne = questionAnswerOne;
    }

    public String getQuestionAnswerTwo() {
        return questionAnswerTwo;
    }

    public void setQuestionAnswerTwo(String questionAnswerTwo) {
        this.questionAnswerTwo = questionAnswerTwo;
    }

    public String getQuestionAnswerThree() {
        return questionAnswerThree;
    }

    public void setQuestionAnswerThree(String questionAnswerThree) {
        this.questionAnswerThree = questionAnswerThree;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getQcollectionId() {
        return qcollectionId;
    }

    public void setQcollectionId(String qcollectionId) {
        this.qcollectionId = qcollectionId;
    }

    public Integer getQuestionDifficlut() {
        return questionDifficult;
    }

    public void setQuestionDifficlut(Integer questionDifficlut) {
        this.questionDifficult = questionDifficlut;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getKnowledgeNode() {
        return knowledgeNode;
    }

    public void setKnowledgeNode(String knowledgeNode) {
        this.knowledgeNode = knowledgeNode;
    }

    public Integer getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Integer timeLimit) {
        this.timeLimit = timeLimit;
    }

    public Integer getMemoryLimit() {
        return memoryLimit;
    }

    public void setMemoryLimit(Integer memoryLimit) {
        this.memoryLimit = memoryLimit;
    }

    @Override
    public String toString() {
        return "Question{" +
                "questionId='" + questionId + '\'' +
                ", questionNum=" + questionNum +
                ", questionTitle='" + questionTitle + '\'' +
                ", questionDoNum=" + questionDoNum +
                ", questionPassNum=" + questionPassNum +
                ", questionScore=" + questionScore +
                ", questionContext='" + questionContext + '\'' +
                ", questionAnswerOne='" + questionAnswerOne + '\'' +
                ", questionAnswerTwo='" + questionAnswerTwo + '\'' +
                ", questionAnswerThree='" + questionAnswerThree + '\'' +
                ", typeId='" + typeId + '\'' +
                ", qcollectionId='" + qcollectionId + '\'' +
                ", questionDifficult=" + questionDifficult +
                ", author='" + author + '\'' +
                ", knowledgeNode='" + knowledgeNode + '\'' +
                ", timeLimit=" + timeLimit +
                ", memoryLimit=" + memoryLimit +
                '}';
    }
}
